package com.crc64.comm.serialcomm;

/**
 * Seri bağlantıda kullanılacak olan DataRate değeri.
 * 
 * @author Bora SAYINER
 * @since 07.10.2014
 * @version 1.0.0
 */
public enum DataRate {

	// @formatter:off
	DATA_RATE_110(110),
	DATA_RATE_150(150),
	DATA_RATE_300(300),
	DATA_RATE_600(600),
	DATA_RATE_1200(1200),
	DATA_RATE_2400(2400),
	DATA_RATE_4800(4800),
	DATA_RATE_9600(9600),
	DATA_RATE_19200(19200),
	DATA_RATE_38400(38400),
	DATA_RATE_56000(56000),
	DATA_RATE_57600(57600),
	DATA_RATE_115200(115200);
	// @formatter:on

	private final int dataRate;

	private DataRate(final int dataRate) {
		this.dataRate = dataRate;
	}

	public int getDataRate() {
		return dataRate;
	}

}